'use strict'
const BUILD_ENV = process.env.BUILD_ENV
let http = ''
let link = ''
switch (BUILD_ENV) {
  case 'other':
    http = '"http://dev-ihosp.medicalmobile.cn"'
    link = '"http://dev-gkpt.medicalmobile.cn"'
    break
  case 'test':
    http = '"https://test-ihosp.hiseemedical.com"'
    link = '"https://test-gkpt.medicalmobile.cn"'
    break
  case 'release':
      http = '"https://release-ihosp.hiseemedical.com"'
      link = '"https://release-gkpt.hiseemedical.com"'
      break
  case 'prod':
    http = '"https://wdrm.hiseemedical.com"'
    link = '"https://gkpt.hiseemedical.cn"'
    break
}
module.exports = {
  NODE_ENV: '"production"',
	BUILD_ENV: '"' + BUILD_ENV + '"',
  http: http,
  link: link
}
